<?php

// 程序根目录
define('CMS_PATH', __DIR__ . '/../');

//视图路径
define('CMS_VIEW_PATH', __DIR__ . '/../application/index/view/');

// 静态文件路径
define('CMS_STATIC_PATH', __DIR__ . '/../public/static/');

//采集器路径
define('CMS_COLLECTION_PATH', __DIR__ . '/../extend/Collection/');

//站内访问
define('CMS_VISIT_PATH', __DIR__ . '/../extend/Collection/');

//配置文件路径
define('APP_EXTRA_PATH', __DIR__ . '/../application/extra/');

//首页缓存路径
define('CMS_CACHE_INDEX_PATH', __DIR__ . '/../runtime/cache/index/');

//列表缓存路径
define('CMS_CACHE_LIST_PATH',  __DIR__ . '/../runtime/cache/list/');

//播放页缓存路径
define('CMS_CACHE_PLAY_PATH',  __DIR__ . '/../runtime/cache/play/');

//搜索缓存路径
define('CMS_CACHE_SEARCH_PATH',  __DIR__ . '/../runtime/cache/search/');

//搜索缓存路径
define('CMS_CACHE_BANNER_PATH',  __DIR__ . '/../runtime/cache/banner/');

//详情页缓存路径 
define('CMS_CACHE_DETAIL_PATH',  __DIR__ . '/../runtime/cache/detail/');

// 临时文件地址
define('CMS_UPDATE_PATH',  __DIR__ . '/../runtime/update/');

// 扩展商城地址
define('CMS_MILL_URL', 'http://service.eeeol.cn/v1/info/goods?pid=6');
define('CMS_MOTICE_URL', 'http://service.eeeol.cn/v1/data/notice?pid=6');
